package com.huaxin.hxmodulesystem.dto.response;

import com.huaxin.hxmodulesystem.models.Organization;
import com.huaxin.hxmodulesystem.models.Permission;
import com.huaxin.hxmodulesystem.models.Role;
import com.huaxin.hxmodulesystem.models.User;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class LoginByPhoneAndUserNameAndPasswordRespDTO {
    @Schema(description = "token")
    private String token;
    @Schema(description = "用户信息")
    private User user;
    @Schema(description = "权限信息")
    private List<Permission> permission;
    @Schema(description = "用户组织机构信息")
    private Organization org;
}